package com.example.safeassistan.ui.login.model;

public class NewNotice {
    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"id":"1351871453779214338","createTime":"2021-01-20","memberId":null,"title":"发送到","content":"发送到发送","type":2,"isRead":null}
     * timestamp : 1611805113296
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 1351871453779214338
         * createTime : 2021-01-20
         * memberId : null
         * title : 发送到
         * content : 发送到发送
         * type : 2
         * isRead : null
         */

        private String id;
        private String createTime;
        private Object memberId;
        private String title;
        private String content;
        private Integer type;
        private Object isRead;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getMemberId() {
            return memberId;
        }

        public void setMemberId(Object memberId) {
            this.memberId = memberId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public Object getIsRead() {
            return isRead;
        }

        public void setIsRead(Object isRead) {
            this.isRead = isRead;
        }
    }
}
